using System.ComponentModel;
using AvaloniaUiKit.SampleApp.ViewModels.Pages;
using AvaloniaUiKit.SampleApp.Views.Dialogs;
using HanumanInstitute.MvvmDialogs;
using HanumanInstitute.MvvmDialogs.Avalonia;

namespace AvaloniaUiKit.SampleApp.ViewLocators
{
    public class MvvmDialogsViewLocator : ViewLocatorBase
    {

        /// <inheritdoc />
        protected override string GetViewName(object viewModel) => viewModel.GetType().FullName!.Replace("ViewModel", "");
    }
}
